package com.example.administrator.myapplication;

/**
 * Created by Administrator on 2016/6/30.
 */
public class NetConfig {
    public static final String HTTP = "http://";
//     public static final String HOST = "192.168.11.120";
//     private static final String PORT = ":8080";
     private static final String NAMESPACE = "/nbd";
//     public static final String ROOT = HTTP + HOST + PORT + NAMESPACE;

//    /锡林郭勒盟：http://61.134.99.226:8080/nbd
    public static final String HOST = "61.134.99.226";
    private static final String PORT = ":8080";
    public static final String AREAID = "370200";
    public static final String ROOT = HTTP + HOST + PORT + NAMESPACE;
    /**
     * 上传头像
     */
    public static String getUploadPhotoUrl(String memberId) {
        return ROOT + "/appMember/uploadpic.html?memberId=" + memberId;
    }

    public static String getLoginUrl() {
        return ROOT + "/appLogin/login";
    }

}
